package com.liuhao.ssm.controller;

import com.liuhao.ssm.annotation.AuthPassport;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 系统页面视图
 * <p>
 * Created by liuHao on 2017/6/2.
 */
@Controller
public class SysPageController extends BaseController {
    @AuthPassport(value = false)
    @RequestMapping("sys/{url}.html")
    public String page(@PathVariable("url") String url) {
        return "sys/" + url + ".html";
    }
}
